Interview Questions and Answer
Options:
a. int array[];
b. int []array;
c. array int[];
d. none of above
Reveal Answer
Options:
a. int array[4]={100,200,300,400};
b. int array[]={100 200 300 400};
c. int array={100,200,300,400}
d. int array[3]={100,200,300,400};
Reveal Answer
Options:
a. 1st index represents rows and 2nd index represents blocks.
b. 1st index represents columns and 2nd index represents sub arrays.
c. 1st index represents blocks and 2nd index represents sub arrays.
d. 1st index represents rows and 2nd index represents columns.
Reveal Answer
Options:
a. 0 3160 0 1 -1 0 2 8653 0 3 9247 0 4 1912 0
b. 0 0 0 1 0 0 2 2 0 3 0 0 4 0 0
c. 0 0 0 1 0 -1 2 0 316 3 0 5874 4 0 5432
d. 0 0 0 1 0 0 2 0 0 3 0 0 4 0 0
Reveal Answer
Options:
a. 1.0,12,2.0,24,3.0,35
b. 1.200000 12.00000 2.400000 24.000000 3.500000 35.000000
c. Compilation Error
d. 1.200 12.000 2.4000 24.000 3.5000 35.000
Reveal Answer
Options:
a. Value of elements in array
b. First element of the array
c. Base address of the array
d. Address of the last element of array
Reveal Answer
Options:
a. Derived Types
b. Fundamentals types
c. User-Define types
d. None of above
Reveal Answer
Options:
a. Num[3]={0 0 0};
b. Num[3]={0,0,0};
c. Num[3]={0;0;0};
d. None of above
Reveal Answer
Options:
a. #define WEEKDAYS 7
b. int array[WEEKDAYS];
c. const int WEEKDAYS = 7;
d. int array[WEEKDAYS] = 7;
e. char array[WEEKDAYS]= {M, T, W, T, F, S, S};
Reveal Answer
Bestdotnet google plus